import { Module } from '@nestjs/common';
import { MotionService } from './motion.service';
import { RecordModule } from '../record/record.module';
import { MotionController } from './motion.controller';
import { MongooseModule } from '@nestjs/mongoose';
import { Motion, MotionSchema } from 'src/schemas/motion.schema';
import { SharedModule } from 'src/modules/shared/shared-module';
import { OssModule } from '../oss/oss.module';

@Module({
  imports: [
    MongooseModule.forFeature([{ name: Motion.name, schema: MotionSchema }]),
    RecordModule,
    SharedModule,
    OssModule,
  ],
  providers: [MotionService],
  controllers: [MotionController],
})
export class MotionModule {}
